var ns;
app = new Vue({
    el: '#app',
    data: {

    },
    methods: {
        open_frame: function() {
            var that = this;
            var topH = 80;
            var frameH = api.winHeight - 50 - topH;
            api.openFrame({
                name: 'customerservicelist',
                url: '../html/customerservicelist_frm.html',
                bounces: false,
                params: {
                    servicetype: 1
                },
                rect: {
                    x: 0,
                    y: topH,
                    w: 'auto',
                    h: frameH
                }
            })
        },
    }
});
apiready = function() {
    api.parseTapmode();
    ns = window.Foresight.Util;
    app.open_frame();
    api.addEventListener({
        name: 'doopenservicewin'
    }, function(ret, err) {
        app.open_frame();
    });
};
